﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>无标题页</title>
    <style type="text/css">
    	body{
			background:url(img/login1.png) repeat-x transparent;
			padding:0;
			margin:0;
		}
		.img{
			position:relative;
			left:150px;
		}
		.img2{
			width:300px;
			top:200px;
			left:670px;
			position:absolute;
		}
		.btn{
			background-image:url(img/login-btn.png);
			height:37px;
			width:117px;
			border:0;
			margin-left:45px;
		}
    </style>
<script language="javascript" type="text/javascript">
// <!CDATA[

function Button1_onclick() {
	var type=document.getElementById("type");
	var index=type.selectedIndex;	// 选中索引
	var text=type.options[index].text; // 选中文本
	var id=type.options[index].value;	// 选中值
	if(id==1){
		window.location.href="Main.htm";	
	}else if(id==2){
		window.location.href="main_Vendor.htm";
	}else if(id==3){
		window.location.href="main_waiji.htm";
	}else if(id==4){
		window.location.href="main_Custom.htm";	
	}
}

// ]]>
</script>
</head>
<body>
    <img class="img" src="img/login1-1.png"/>
    <div class="img2"><img src="img/login1-2.png"/></div>
	<div style="width:300px; position:absolute; left:700px; top:220px;">
    用 户 名：
      <input id="Text1" type="text" /><p>
    密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：
    <input id="Text2" type="text" /><p>
    登陆类型：
    <select id="type"> 
    	<option id="1" value="1">管理员</option>
        <option id="2" value="2">供应商</option>
        <option id="3" value="3">外机</option>
        <option id="4" value="4">客户</option>
    </select><p>
    <input class="btn" id="Button1" type="button" value="登陆" onclick="return Button1_onclick()" />
</div>
</body>
</html>
